import { NOT_FOUND_CODE } from './statusCode'

class NotFound extends Error {
  statusCode
  constructor(message) {
    super(message)
    this.statusCode = NOT_FOUND_CODE
  }
}

export default NotFound
